package com.crm.dao.mapper.customMapper.customerManagerCustomMapper;

import com.crm.model.entity.customerManager.CustomerContactPerson;
import com.crm.model.entity.customerManager.CustomerProductDetail;
import com.crm.model.vo.customerManager.CourseVO;
import com.crm.model.vo.customerManager.CustomerProductVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ Author ：baijian
 * @ Date   ：2021/5/14 14:38
 */
public interface CustomerProductDetailCustomMapper {

    /**
     * 客户管理-客户详情-会员产品-详细信息
     * @param customerId 客户id
     * @param finishOrderProductNum 产品号
     * @return
     */
    List<CourseVO> selectCustomerProductDetail(@Param("customerId")String customerId,@Param("finishOrderProductNum")String finishOrderProductNum);

    /**
     * 客户管理-客户详情-会员产品-课程-产品信息
     * @param customerId 客户Id
     * @param courseNum 课程标号
     * @return
     */
    List<CustomerProductVO> selectCustomerProduct(@Param("customerId")String customerId,@Param("courseNum") String courseNum);
}
